const util = require("../../utils/util");

const app = getApp();
Page({
  data: {
    StatusBar: app.globalData.StatusBar,
    CustomBar: app.globalData.CustomBar,
    index: null,
    multiIndex: [0, 0, 0],
    startTimeChange: '20:00',
    endTimeChange: '8:00',
    modalName: null,
    textareaBValue: '大郎该吃药了'
  },
  startTimeChange(e) {
    this.setData({
      startTimeChange: e.detail.value
    })
  },
  endTimeChange(e) {
    this.setData({
      endTimeChange: e.detail.value
    })
  },
  DateChange(e) {
    this.setData({
      date: e.detail.value
    })
  },
  RegionChange: function(e) {
    this.setData({
      region: e.detail.value
    })
  },

  checkSetTimeChange(e) {
    var that = this
    
    console.log(e.detail.value)
    //对输入的字符需要校验
    //弹窗
    //wx.showToast({
      //title: "请阅读并同意用户须知",
     // icon: 'none'
    //})

  },

  formSubmit:function(e){
    console.log(e)

  },


  textareaBInput(e) {
    this.setData({
      textareaBValue: e.detail.value
    })
  }
})